package com.iqiyi.dbagent.model;

import java.util.List;
import java.util.Map;

/**
 * @Title: Table4QiData.java
 * @Package com.iqiyi.dbagent.model
 * @Description: 将表结构,对应的值,初始化sql和切分规则,抽象为该数据结构
 * @author wangnianming
 * @date 2015年12月24日 上午9:20:15
 * @version V1.0
 */
public class Table4QiData {

    private String tableTag = null;

    private List<String> filedsList = null;

    private List<String> sqls = null;

    private String logKeyFilter = null;
    
    private String logValueFilter = null;
    
    private String tagFilter = null;

    private String tableName = null;

    private String tabId = null;

    private String srcTableName = null;
    
    private long recordCount = 0;

    private Map<String,Double> valuesMap = null;

    public Table4QiData() {
        // TODO Auto-generated constructor stub
    }
    
    public String getTableTag() {
        return tableTag;
    }

    public void setTableTag(String tableTag) {
        this.tableTag = tableTag;
    }

    public List<String> getFiledsList() {
        return filedsList;
    }

    public void setFiledsList(List<String> filedsList) {
        this.filedsList = filedsList;
    }

    public List<String> getSqls() {
        return sqls;
    }

    public void setSqls(List<String> sqls) {
        this.sqls = sqls;
    }
    
    public String getLogKeyFilter() {
        return logKeyFilter;
    }

    public void setLogKeyFilter(String logKeyFilter) {
        this.logKeyFilter = logKeyFilter;
    }

    public String getLogValueFilter() {
        return logValueFilter;
    }

    public void setLogValueFilter(String logValueFilter) {
        this.logValueFilter = logValueFilter;
    }

    public String getTagFilter() {
        return tagFilter;
    }

    public void setTagFilter(String tagFilter) {
        this.tagFilter = tagFilter;
    }

    public String getTableName() {
        return tableName;
    }

    public void setTableName(String tableName) {
        this.tableName = tableName;
    }

	public long getRecordCount() {
        return recordCount;
    }

    public void setRecordCount(long recordCount) {
        this.recordCount = recordCount;
    }

    public String getTabId() {
        return tabId;
    }

    public void setTabId(String tabId) {
        this.tabId = tabId;
    }
    
    public Map<String, Double> getValuesMap() {
        return valuesMap;
    }

    public void setValuesMap(Map<String, Double> valuesMap) {
        this.valuesMap = valuesMap;
    }

    public String getSrcTableName() {
        return srcTableName;
    }

    public void setSrcTableName(String srcTableName) {
        this.srcTableName = srcTableName;
    }

    /* (non-Javadoc)
     * @see java.lang.Object#toString()
     */
    @Override
    public String toString() {
        return "Table4QiData [tableTag=" + tableTag + ", filedsList="
                + filedsList + ", sqls=" + sqls + ", logKeyFilter="
                + logKeyFilter + ", logValueFilter=" + logValueFilter
                + ", tagFilter=" + tagFilter + ", tableName=" + tableName
                + ", tabId=" + tabId + ", srcTableName=" + srcTableName
                + ", recordCount=" + recordCount + ", valuesMap=" + valuesMap
                + "]";
    }

}
